|
btez2 2.2.0
|
BT-EZ 2 Click response/event packet object. More...
#include <btez2.h>
Data Fields | |
| uint8_t | rsp_flag |
| uint8_t | command_type |
| uint8_t | command [BTEZ2_CMD_CODE_BUFFER_SIZE] |
| uint16_t | rsp_result |
| uint8_t | payload [BTEZ2_PAYLOAD_BUFFER_SIZE] |
BT-EZ 2 Click response/event packet object.
Response/event packet object definition of BT-EZ 2 Click driver.
| uint8_t command[BTEZ2_CMD_CODE_BUFFER_SIZE] |
Command code string.
| uint8_t command_type |
Command response type (BTEZ2_PACKET_CMD_x).
| uint8_t payload[BTEZ2_PAYLOAD_BUFFER_SIZE] |
Packet payload string (optional).
| uint8_t rsp_flag |
Response/Event flag (1-response, 0-event).
| uint16_t rsp_result |
Response result word (0-OK).